package org.elasticsearch.rest;

public interface RestHandler {

    void handleRequest(RestRequest request, RestChannel channel) throws Exception;

    default boolean canTripCircuitBreaker() {
        return true;
    }


    @Deprecated
    default boolean supportsPlainText() {
        return false;
    }


    default boolean supportsContentStream() {
        return false;
    }
}

